Skip to content

Joy/ref 5768/sk predictor#21

Open
PMjoydas wants to merge 5 commits intomasterfrom
joy/REF-5768/sk-predictor
Open

Joy/ref 5768/sk predictor#21
PMjoydas wants to merge 5 commits intomasterfrom
joy/REF-5768/sk-predictor

Conversation

@PMjoydas
Copy link
Copy Markdown
Contributor

@PMjoydas PMjoydas commented Mar 3, 2019

Scikit learn generic predictor, initial checking supporting RF-classifier

@PMjoydas PMjoydas self-assigned this Mar 3, 2019
"""
prog_start_time = time.time()
mlops.init()
model = pickle.load(open(input_model, "rb"))
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we "try" model loading. In case model not is ready no to get an exception.

mlops.done()

# return predict_results
return class_probability
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We return the prediction probability per class and not the predictions. Maybe at least have a configuration for this?
Also do we need another post processing stage to go back to the labels?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants